package com.zt.questionnaire.common;

import lombok.Data;

import java.util.List;

/**
 * 分页类
 *
 * @param <T>
 * @author Administrator
 */
@Data
public class PageResult<T> {
    private long total;

    private List<T> list;

    public PageResult() {

    }

    public PageResult(long total, List<T> list) {
        this.total = total;
        this.list = list;
    }
}
